/*    */ package com.yss.sofa.cml.design;
/*    */ 
/*    */ import com.yss.sofa.cml.AmountCurrency;
/*    */ import com.yss.sofa.cml.AmountElement;
/*    */ import com.yss.sofa.cml.Visitor;
/*    */ import com.yss.sofa.cml.color.Color;
/*    */ import com.yss.sofa.cml.type.AmountDecorationEnum;
/*    */ import java.math.BigDecimal;
/*    */ 
/*    */ public class DesignAmount extends BaseTextParagraph
/*    */   implements AmountElement
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/* 16 */   protected boolean displayZero = true;
/*    */   protected Integer precision;
/*    */   protected Integer scale;
/*    */   protected BigDecimal amount;
/*    */   protected AmountDecorationEnum amountDecoration;
/*    */   protected AmountCurrency amountCurrency;
/*    */   protected Color lineColor;
/*    */   protected Color splitLineColor;
/*    */ 
/*    */   public Integer getPrecision()
/*    */   {
/* 25 */     return this.precision;
/*    */   }
/*    */ 
/*    */   public Integer getScale()
/*    */   {
/* 30 */     return this.scale;
/*    */   }
/*    */ 
/*    */   public BigDecimal getAmount()
/*    */   {
/* 35 */     return this.amount;
/*    */   }
/*    */ 
/*    */   public AmountDecorationEnum getAmountDecoration()
/*    */   {
/* 40 */     return this.amountDecoration;
/*    */   }
/*    */ 
/*    */   public AmountCurrency getAmountCurrency()
/*    */   {
/* 45 */     return this.amountCurrency;
/*    */   }
/*    */ 
/*    */   public void setPrecision(Integer precision) {
/* 49 */     this.precision = precision;
/*    */   }
/*    */ 
/*    */   public void setScale(Integer scale) {
/* 53 */     this.scale = scale;
/*    */   }
/*    */ 
/*    */   public void setAmount(BigDecimal amount) {
/* 57 */     this.amount = amount;
/*    */   }
/*    */ 
/*    */   public void setAmountDecorationEnum(AmountDecorationEnum amountDecoration) {
/* 61 */     this.amountDecoration = amountDecoration;
/*    */   }
/*    */ 
/*    */   public void setAmountCurrency(AmountCurrency amountCurrency) {
/* 65 */     this.amountCurrency = amountCurrency;
/*    */   }
/*    */ 
/*    */   public Color getLineColor() {
/* 69 */     return this.lineColor;
/*    */   }
/*    */ 
/*    */   public void setLineColor(Color lineColor) {
/* 73 */     this.lineColor = lineColor;
/*    */   }
/*    */ 
/*    */   public Color getSplitLineColor() {
/* 77 */     return this.splitLineColor;
/*    */   }
/*    */ 
/*    */   public boolean isDisplayZero() {
/* 81 */     return this.displayZero;
/*    */   }
/*    */ 
/*    */   public void setDisplayZero(boolean displayZero) {
/* 85 */     this.displayZero = displayZero;
/*    */   }
/*    */ 
/*    */   public void setSplitLineColor(Color splitLineColor) {
/* 89 */     this.splitLineColor = splitLineColor;
/*    */   }
/*    */ 
/*    */   public void visit(Visitor visitor)
/*    */   {
/* 94 */     visitor.visitAmount(this);
/*    */   }
/*    */ }

/* Location:           X:\repository\com\yss\sofa\cml\cml-api\1.1.0\cml-api-1.1.0.jar
 * Qualified Name:     com.yss.sofa.cml.design.DesignAmount
 * JD-Core Version:    0.6.0
 */